Skip to content

Conversation

Lood
Copy link
Contributor

@Lood Lood commented Jul 24, 2025

Hello!
Sometimes, during the development process, you need to send requests to web services with self-signed certificates.
This is a one-time task to get a resource and it doesn't make sense to add a certificate to the keystore or create a certificate file.
To do this, cURL has the --insecure parameter. I suggest adding in to SslExtenstions.kt is an OkHttpClient.Builder.insecure() extension function. I propose the following this is implementation.

@alx-mag alx-mag merged commit f1485d9 into Amplicode:main Sep 4, 2025
@alx-mag
Copy link
Contributor

alx-mag commented Sep 4, 2025

Thank you for contribution

@Lood Lood deleted the feature-insecure-ssl branch September 4, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants